---
title: Vercel KV
---

This example demonstrates how to setup chat history storage using the `VercelKVStore` `BaseStore` integration.

## Setup

```bash npm
npm install @langchain/community @langchain/core @vercel/kv
```

## Usage

import VercelKvStorage from "/snippets/javascript-integrations/examples/stores/vercel_kv_storage.mdx";

<VercelKvStorage />

## Related

- [Key-value store conceptual guide](/oss/concepts/key_value_stores)
